package com.autumn.config.entities.view;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.autumn.domain.entities.AbstractDefaultEntity;
import com.autumn.mybatis.mapper.annotation.TableOrderBy;
import com.autumn.mybatis.mapper.annotation.ViewTable;

/**
 * 服务数据源配置视图
 * 
 * @author 老码农
 *         <p>
 *         Description
 *         </p>
 * @date 2018-01-02 21:04:08
 */
@Entity
@Table(name = "view_service_data_source_connection_configure")
@ViewTable
@TableOrderBy(value = "serviceId ASC,id ASC")
public class ServiceDataSourceConfigureView extends AbstractDefaultEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2329896003759274897L;

	private String serviceId;
	private Integer status;
	private Integer appStatus;
	private boolean appIsDelete;
	private String targetServiceId;
	private String targetAppName;
	private Integer targetAppStatus;
	private boolean targetAppIsDelete;
	private Long connectionId;
	private Integer connectionType;
	private String connectionName;
	private String propertyContent;
	private Integer connectionStatus;
	private boolean connectionIsDelete;

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getAppStatus() {
		return appStatus;
	}

	public void setAppStatus(Integer appStatus) {
		this.appStatus = appStatus;
	}

	public boolean getAppIsDelete() {
		return appIsDelete;
	}

	public void setAppIsDelete(boolean appIsDelete) {
		this.appIsDelete = appIsDelete;
	}

	public String getTargetServiceId() {
		return targetServiceId;
	}

	public void setTargetServiceId(String targetServiceId) {
		this.targetServiceId = targetServiceId;
	}

	public String getTargetAppName() {
		return targetAppName;
	}

	public void setTargetAppName(String targetAppName) {
		this.targetAppName = targetAppName;
	}

	public Integer getTargetAppStatus() {
		return targetAppStatus;
	}

	public void setTargetAppStatus(Integer targetAppStatus) {
		this.targetAppStatus = targetAppStatus;
	}

	public boolean getTargetAppIsDelete() {
		return targetAppIsDelete;
	}

	public void setTargetAppIsDelete(boolean targetAppIsDelete) {
		this.targetAppIsDelete = targetAppIsDelete;
	}

	public Long getConnectionId() {
		return connectionId;
	}

	public void setConnectionId(Long connectionId) {
		this.connectionId = connectionId;
	}

	public String getConnectionName() {
		return connectionName;
	}

	public void setConnectionName(String connectionName) {
		this.connectionName = connectionName;
	}

	public Integer getConnectionType() {
		return connectionType;
	}

	public void setConnectionType(Integer connectionType) {
		this.connectionType = connectionType;
	}

	public String getPropertyContent() {
		return propertyContent;
	}

	public void setPropertyContent(String propertyContent) {
		this.propertyContent = propertyContent;
	}

	public Integer getConnectionStatus() {
		return connectionStatus;
	}

	public void setConnectionStatus(Integer connectionStatus) {
		this.connectionStatus = connectionStatus;
	}

	public boolean getConnectionIsDelete() {
		return connectionIsDelete;
	}

	public void setConnectionIsDelete(boolean connectionIsDelete) {
		this.connectionIsDelete = connectionIsDelete;
	}

}
